# -*- coding: utf-8 -*-
# @Time    : 2024/1/4 21:30
# @Author  : micah
# @File    : 13.忽略ssl证书错误.py
# @Software: PyCharm


import requests


url = 'https://chinasoftinc.com/owa'

# verify=False: 忽略证书验证
response = requests.get(url, verify=False)
print(response)


"""
在之后的爬虫项目中，请求时如果遇到ssl错误，则可以使用verify=False尝试解决
"""